﻿namespace PTN.SSMS.AddIns.V2.NetworkTools.UI.Controls
{
	partial class RDPControl
	{
	#region Members
		private System.ComponentModel.IContainer components = null;
	#endregion

	#region Overrides
		protected override void Dispose(bool disposing)
		{
			if (this.rdpClient5 != null)
			{
				Controls.Remove(this.rdpClient5);

				try
				{
					System.Reflection.FieldInfo fieldInfo = typeof(System.Windows.Forms.AxHost).GetField("oleSite",System.Reflection.BindingFlags.Instance | System.Reflection.BindingFlags.NonPublic);
					System.GC.SuppressFinalize(fieldInfo.GetValue(this.rdpClient5));
				}
				catch (System.FieldAccessException fieldAccessException)
				{
					System.Windows.Forms.MessageBox.Show("Can not access reflection information for RDP ActiveX wrapper.\n"+fieldAccessException.Message);
				}

				this.rdpClient5.Dispose();
				this.rdpClient5 = null;
			}
			if (this.rdpClient6 != null)
			{
				Controls.Remove(this.rdpClient6);

				try
				{
					System.Reflection.FieldInfo fieldInfo = typeof(System.Windows.Forms.AxHost).GetField("oleSite",System.Reflection.BindingFlags.Instance | System.Reflection.BindingFlags.NonPublic);
					System.GC.SuppressFinalize(fieldInfo.GetValue(this.rdpClient6));
				}
				catch (System.FieldAccessException fieldAccessException)
				{
					System.Windows.Forms.MessageBox.Show("Can not access reflection information for RDP ActiveX wrapper.\n" + fieldAccessException.Message);
				}

				this.rdpClient6.Dispose();
				this.rdpClient6 = null;
			}


			if (disposing && (components != null))
			{
				components.Dispose();
			}
			base.Dispose(disposing);
		}
	#endregion

	#region Component Designer generated code

		/// <summary> 
		/// Required method for Designer support - do not modify 
		/// the contents of this method with the code editor.
		/// </summary>
		private void InitializeComponent()
		{
			this.SuspendLayout();
			// 
			// RDPControl
			// 
			this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
			this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
			this.Name = "RDPControl";
			this.Size = new System.Drawing.Size(430, 374);
			this.ResumeLayout(false);

		}

		#endregion

	}
}
